﻿
using XC.Models.Entities;
using XC.Models.Entities.LowCode;
using XC.Models.Entities.ApprovalFlow;
using XC.Models.Entities.Framework;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XC.EFCore.Migrations.Seeds.Datas;

  public static class MigrationsSysMenuModelBuilderExtensions
    {
        public static void Seed(this ModelBuilder modelBuilder)
        {
// ===============================================表：sys_menu 种子数据=============================================
modelBuilder.Entity<SysMenu>().HasData(new SysMenu(){Id=1,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2021/5/28 11:49:02"),Icon="MoreOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:25:39"),LevelCode="1",Name="更多示例",Number=10,ParentId=null,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=2,Close=bool.Parse("True"),ComponentName="AppComponentsCom",CreationTime=DateTime.Parse("2021/1/16 16:05:22"),Icon="LayoutOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/18 12:06:20"),LevelCode="1.2",Name="Antd Vue3.0组件",Number=10,ParentId=1,Router="/app/components",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/AppComponents.vue"},new SysMenu(){Id=3,Close=bool.Parse("True"),ComponentName="ButtonCom",CreationTime=DateTime.Parse("2020/12/17 14:58:05"),Icon="AppstoreOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:14"),LevelCode="1.3",Name="按钮",Number=30,ParentId=1,Router="/button",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/Button.vue"},new SysMenu(){Id=4,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2021/1/16 16:06:33"),Icon="PieChartOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:21"),LevelCode="1.4",Name="图表 AntV G2",Number=40,ParentId=1,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=5,Close=bool.Parse("True"),ComponentName="ChartBaseCom",CreationTime=DateTime.Parse("2021/1/16 16:07:24"),Icon=null,JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:25"),LevelCode="1.4.5",Name="基础图表",Number=10,ParentId=4,Router="/chart/base",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/chart/Base.vue"},new SysMenu(){Id=6,Close=bool.Parse("True"),ComponentName="ChartMoreCom",CreationTime=DateTime.Parse("2021/1/16 16:10:06"),Icon=null,JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:28"),LevelCode="1.4.6",Name="更多图表",Number=20,ParentId=4,Router="/chart/more",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/chart/More.vue"},new SysMenu(){Id=7,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="TableOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:34"),LevelCode="1.7",Name="表格管理",Number=50,ParentId=1,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=8,Close=bool.Parse("True"),ComponentName="BaseListCom",CreationTime=DateTime.Parse("2020/12/17 14:49:12"),Icon=null,JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:38"),LevelCode="1.7.8",Name="基础列表",Number=100,ParentId=7,Router="/base/list",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/BaseList.vue"},new SysMenu(){Id=9,Close=bool.Parse("True"),ComponentName="ListIndexCom",CreationTime=DateTime.Parse("2020/12/17 14:51:07"),Icon=null,JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:41"),LevelCode="1.7.9",Name="标准表格",Number=110,ParentId=7,Router="/list",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/list/Index.vue"},new SysMenu(){Id=10,Close=bool.Parse("True"),ComponentName="EditorCom",CreationTime=DateTime.Parse("2021/1/18 19:34:28"),Icon="PicRightOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:46"),LevelCode="1.10",Name="富文本编辑器",Number=60,ParentId=1,Router="/editor",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/Editor.vue"},new SysMenu(){Id=11,Close=bool.Parse("True"),ComponentName="ExternalJumpCom",CreationTime=DateTime.Parse("2021/8/5 21:51:12"),Icon="RadarChartOutlined",JumpUrl="https://antv.vision/zh",KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:49"),LevelCode="1.11",Name="跳转外部地址",Number=70,ParentId=1,Router="/external/jump/:path(.*)",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="components/ExternalJump.vue"},new SysMenu(){Id=12,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="GoldOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:25:43"),LevelCode="12",Name="基础信息",Number=50,ParentId=null,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=13,Close=bool.Parse("True"),ComponentName="base_member",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="UsergroupAddOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:55"),LevelCode="12.13",Name="会员管理",Number=10,ParentId=12,Router="/base/member",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/base/member/Index.vue"},new SysMenu(){Id=14,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="DesktopOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:25:46"),LevelCode="14",Name="系统管理",Number=100,ParentId=null,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=15,Close=bool.Parse("True"),ComponentName="system_user",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="UserOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:02"),LevelCode="14.15",Name="账户管理",Number=100,ParentId=14,Router="/system/user",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/user/Index.vue"},new SysMenu(){Id=16,Close=bool.Parse("True"),ComponentName="system_role",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="TeamOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/4/22 22:24:03"),LevelCode="14.16",Name="角色管理",Number=110,ParentId=14,Router="/system/role",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/role/Index.vue"},new SysMenu(){Id=17,Close=bool.Parse("True"),ComponentName="system_function",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="ControlOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:11"),LevelCode="14.17",Name="功能管理",Number=120,ParentId=14,Router="/system/function",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/function/Index.vue"},new SysMenu(){Id=19,Close=bool.Parse("True"),ComponentName="system_personal_center",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="FormOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:19"),LevelCode="14.19",Name="个人中心",Number=150,ParentId=14,Router="/system/personal/center",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/personal_center/Index.vue"},new SysMenu(){Id=20,Close=bool.Parse("True"),ComponentName="system_post",CreationTime=DateTime.Parse("2021/5/27 17:29:49"),Icon="IdcardOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:23"),LevelCode="14.20",Name="岗位管理",Number=160,ParentId=14,Router="/system/post",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/post/Index.vue"},new SysMenu(){Id=21,Close=bool.Parse("True"),ComponentName="system_organization",CreationTime=DateTime.Parse("2021/5/27 20:27:56"),Icon="ClusterOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:27"),LevelCode="14.21",Name="组织机构",Number=170,ParentId=14,Router="/system/organization",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/organization/Index.vue"},new SysMenu(){Id=22,Close=bool.Parse("True"),ComponentName="swagger",CreationTime=DateTime.Parse("2018/3/10 12:17:03"),Icon="FileSearchOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:41"),LevelCode="29.22",Name="接口文档",Number=10,ParentId=29,Router="/development_tool/swagger",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/development_tool/Swagger.vue"},new SysMenu(){Id=23,Close=bool.Parse("True"),ComponentName="system_dictionary",CreationTime=DateTime.Parse("2021/7/25 21:50:01"),Icon="FileDoneOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:31"),LevelCode="14.23",Name="数据字典",Number=190,ParentId=14,Router="/system/dictionary",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/dictionary/Index.vue"},new SysMenu(){Id=24,Close=bool.Parse("True"),ComponentName="sys_operation_log",CreationTime=DateTime.Parse("2021/8/5 21:24:54"),Icon="ContainerOutlined",JumpUrl="",KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:35"),LevelCode="14.24",Name="操作日志",Number=200,ParentId=14,Router="/system/sys_operation_log",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/sys_operation_log/Index.vue"},new SysMenu(){Id=25,Close=bool.Parse("True"),ComponentName="system_menu",CreationTime=DateTime.Parse("2018/3/10 12:16:38"),Icon="MenuOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:15"),LevelCode="14.25",Name="菜单功能",Number=130,ParentId=14,Router="/system/menu",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/system/menu/Index.vue"},new SysMenu(){Id=28,Close=bool.Parse("True"),ComponentName="VxeTableCom",CreationTime=DateTime.Parse("2021/12/29 17:13:26"),Icon="BorderlessTableOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:26:00"),LevelCode="1.28",Name="Vxe-Table",Number=1,ParentId=1,Router="/vxe/table",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/VxeTable.vue"},new SysMenu(){Id=29,Close=bool.Parse("True"),ComponentName=null,CreationTime=DateTime.Parse("2022/1/12 14:17:21"),Icon="CodepenOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:25:49"),LevelCode="29",Name="开发工具",Number=200,ParentId=null,Router=null,Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.目录,Url=null},new SysMenu(){Id=30,Close=bool.Parse("True"),ComponentName="TimedTaskCom",CreationTime=DateTime.Parse("2022/1/12 14:22:04"),Icon="FieldTimeOutlined",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/4 12:27:44"),LevelCode="29.30",Name="定时任务",Number=20,ParentId=29,Router="/development_tool/timed_task",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/development_tool/timed_task/Index.vue"},new SysMenu(){Id=31,Close=bool.Parse("True"),ComponentName="LowCode",CreationTime=DateTime.Parse("2022/1/12 15:39:46"),Icon="CodeTwoTone",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/5/24 22:05:57"),LevelCode="29.31",Name="代码生成",Number=30,ParentId=29,Router="/development-tool/low-code",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/development_tool/low_code/Index.vue"},new SysMenu(){Id=32,Close=bool.Parse("True"),ComponentName="IconsVue",CreationTime=DateTime.Parse("2022/2/24 10:51:38"),Icon="TagsTwoTone",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/3/18 12:06:38"),LevelCode="1.32",Name="图标展示",Number=20,ParentId=1,Router="/icons",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/Icons.vue"},new SysMenu(){Id=33,Close=bool.Parse("True"),ComponentName="monitor_ef_core",CreationTime=DateTime.Parse("2022/4/10 10:55:41"),Icon="DashboardFilled",JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/4/10 10:56:17"),LevelCode="29.33",Name="EFCore监控台",Number=40,ParentId=29,Router="/development_tool/monitor/efcore",Show=bool.Parse("True"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/development_tool/monitor_ef_core/Index.vue"},new SysMenu(){Id=36,Close=bool.Parse("True"),ComponentName="base_member_info_Details",CreationTime=DateTime.Parse("2022/4/17 17:45:25"),Icon=null,JumpUrl=null,KeepAlive=bool.Parse("True"),LastModificationTime=DateTime.Parse("2022/4/17 17:49:13"),LevelCode="12.13.36",Name="详情",Number=1,ParentId=13,Router="/base/member/details/:id/:title",Show=bool.Parse("False"),State=bool.Parse("True"),Type=SysMenuTypeEnum.菜单,Url="views/base/member/components/Details.vue"});

    }
}
